home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / lock / scripts / frame_32 / DoAction.as
Encoding:
Text File  |  2002-03-20  |  550 b   |  24 lines

  1. set("_level0/data:password","");
  2. set("_level0/data:confirm_password","");
  3. set("_level0/data:new_password","");
  4. if(typeof error eq "string")
  5. {
  6.    Number(error);
  7. }
  8. if(error == 1)
  9. {
  10.    errormsg = "Sorry, you have entered your existing password incorrectly.";
  11.    error = null;
  12. }
  13. else if(error == 2)
  14. {
  15.    errormsg = "Sorry, the new password and confirmation password do not match.";
  16.    error = null;
  17. }
  18. else if(error == 3)
  19. {
  20.    errormsg = "Sorry, your new password needs to be at least eight characters.";
  21.    error = null;
  22. }
  23. stop();
  24.